#include "logger/logger.h"
#include <catch2/catch_test_macros.hpp>
#include <vector>

TEST_CASE("Logger Wrapper", "[logger]")
{
    using namespace zh;
    int x = 1;
    int y = 1024;
    LOG_WARN("this is a spdlog test {}", x);
    LOG_DEBUG("this is a debug  info {}", y);
    LOG_INFO("this is a info");
    LOG_ERROR("this is a error");
    std::vector<int> vec {1, 2, 3, 4};
    LOG_INFO("this is a vector: {}", vec);
    REQUIRE(1 + 2 == 5);
}
